package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzhc.entity.ChargeItem;
import com.hzhc.vo.ChargeItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 计费项目 Mapper 接口
 * </p>
 *
 * @author 1
 * @since 2024-05-28
 */
@Mapper
public interface ChargeItemMapper extends BaseMapper<ChargeItem> {

    IPage<ChargeItemVo> getAllList(Page<ChargeItemVo> page,@Param("vo") ChargeItemVo vo);

    List<ChargeItemVo> getAllList(@Param("vo")ChargeItemVo vo);

    List<ChargeItemVo> getChargeItemVoList(@Param("ids")  String chargeItemIds);
}
